<select class="my-select" name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>{% for group_name, group_choices, group_index in widget.optgroups %}{% if group_name %}
  <optgroup label="{{ group_name }}">{% endif %}{% for option in group_choices %}
  {% include option.template_name with widget=option %}{% endfor %}{% if group_name %}
  </optgroup>{% endif %}{% endfor %}
</select>

<style>
    .my-select {
        border-radius: 5px;
        padding: 6px 12px 6px 12px;
        border: none;
        box-shadow: 1px 1px 2px #fff;
        background: #26725b;
        color: white;
        width: 62%;
    }
    option {
        background: #464b50;
        padding: 6px 12px 6px 12px;
    }
</style>
